package com.tsingteng.cosfun.ui.message.messagereport;

import com.tsingteng.cosfun.bean.MessageReportBean;
import com.tsingteng.cosfun.callback.RxObserver;
import com.tsingteng.cosfun.http.RxSchedulers;
import com.tsingteng.cosfun.mvp.module.BaseModel;
/**
 * 举报列表信息M层
 * 常胜
 * 2018.8.22
 * */
public class MessageReportModel extends BaseModel implements IMessageReportModel{
    @Override
    public void getMessageReport(int type, RxObserver<MessageReportBean> rxObserver) {
        doRxRequest().getReportList(type).compose(RxSchedulers.io_main()).subscribe(rxObserver);
    }
}
